package com.xinou.daily_report.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDate;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.xinou.common.base.database.EntityBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2021-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysIntegral对象", description="")
public class SysIntegral extends EntityBase {


    @ApiModelProperty(value = "加分的原因")
    private String reason;

    @ApiModelProperty(value = "此次加的分数")
    private Double theIntegral;

    private Long userId;

    @ApiModelProperty(value = "谁加的分")
    private Long addUserId;

    @ApiModelProperty(value = "类型0表示加分，1表示减分")
    private Integer integralType;

    private LocalDate saveDate;

}
